package com.blog4j.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blog4j.article.entity.CommentEntity;
import com.blog4j.article.model.Comment;
import com.blog4j.article.vo.req.CommentReqVo;
import com.blog4j.article.vo.req.SendCommentReqVo;
import com.github.pagehelper.PageInfo;
/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2024/7/28 20:54
 **/
public interface CommentService extends IService<CommentEntity> {
    /**
     * 获取文章评论列表
     *
     * @param reqVo 请求信息
     * @return 评论列表
     */
    PageInfo<Comment> commentList(CommentReqVo reqVo);

    /**
     * 给文章评论
     *
     * @param reqVo 评论信息
     */
    void sendComment(SendCommentReqVo reqVo);
}
